package com.hotau.ui;

import android.content.Context;
import android.util.AttributeSet;
import android.view.MotionEvent;

/**
 * 
 * Class Name: Gallery.java Function: extends {@link android.widget.Gallery}
 * ,modify the function {@link #onFling(MotionEvent, MotionEvent, float, float)}
 * ,it can only move to the child next(or previous)
 * 
 * Modifications:
 * 
 * @author  DateTime 2011-11-1 下午07:44:35
 * @version 1.0
 */
public class Gallery extends android.widget.Gallery {
	public Gallery(Context context) {
		super(context);
		// TODO Auto-generated constructor stub
	}

	public Gallery(Context context, AttributeSet attrs) {
		super(context, attrs);
		// TODO Auto-generated constructor stub
	}

	public Gallery(Context context, AttributeSet attrs, int defStyle) {
		super(context, attrs, defStyle);
		// TODO Auto-generated constructor stub
	}

	@Override
	public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX,
			float velocityY) {
		// TODO Auto-generated method stub
		return false;
	}
}
